VERSION 5.00
Begin VB.Form frmTTTRequest 
   BackColor       =   &H00000000&
   Caption         =   "VectorNet Bot - Tic Tac Toe Request"
   ClientHeight    =   1650
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6135
   Icon            =   "frmTTTRequest.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   1650
   ScaleWidth      =   6135
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame1 
      BackColor       =   &H00000000&
      Caption         =   "Request Options"
      ForeColor       =   &H00FFFF00&
      Height          =   735
      Left            =   720
      TabIndex        =   1
      Top             =   720
      Width           =   4935
      Begin VB.CommandButton btnDeny 
         Caption         =   "Deny"
         Height          =   375
         Left            =   2640
         TabIndex        =   3
         Top             =   240
         Width           =   2175
      End
      Begin VB.CommandButton btnAccept 
         Caption         =   "Accept"
         Height          =   375
         Left            =   120
         TabIndex        =   2
         Top             =   240
         Width           =   2415
      End
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00000000&
      Caption         =   "%u has requested a tic tac toe game!"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFFFF&
      Height          =   375
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   5895
   End
End
Attribute VB_Name = "frmTTTRequest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub btnAccept_Click()
  sendPacket &H8, "game accept" & Chr$(0) & Replace(opponent, "", "")
  frmTicTacToe.Show
  Unload Me
End Sub

Private Sub btnDeny_Click()
  sendPacket &H8, "game deny" & Chr$(0) & opponent
  Unload Me
End Sub

Private Sub Form_Load()
  Me.Left = frmChat.Left + 1800
  Me.Top = frmChat.Top + 1400
  Label1.Caption = Replace(Label1.Caption, "%u", opponent)
End Sub
